package com.github.rxyor.example.dubbo.provider.poet.rpc;

import com.github.rxyor.example.dubbo.api.poet.Poet;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.stereotype.Component;

/**
 *<p>
 *
 *</p>
 *
 * @author liuyang
 * @date 2019-07-20 Sat 14:08:00
 * @since 1.0.0
 */
@Service(version = "poetSuShi")
@Component
public class PoetSuShi implements Poet {

    @Override
    public String createPoem() {
        return "欲把西湖比西子，淡妆浓抹总相宜。";
    }
}
